﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using XWG;
using XWG.JWBST;
using XWG.JWBST.JWBSTEntity;
using XWG.JWBST.JWBSTBLL;
using XWG.JWBST.JWBSTSPConst;
using XWG.Framework.MSException;
using System.Data;
namespace JWBSTAPP
{
    public partial class TbBstFraudCollectEdit : JWBSTAPP.CommonClass.PageBases
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            if (!IsPostBack)
            {
                BindFraudtype();
            }
        }

        /// <summary>
        /// 绑定类型
        /// </summary>
        private void BindFraudtype()
        {
            var list = XWG.JWBST.JWBSTBLL.TbBstBsznBLL.GetDictionaryByCode("FRAUDTYPE");
            selFraudtype.DataSource = list;
            selFraudtype.DataTextField = "Description";
            selFraudtype.DataValueField = "Code";
            selFraudtype.DataBind();
            selFraudtype.Items.Insert(0, new ListItem("请选择", ""));
            selFraudtype.Value = "-1";
        }
    }
}


